import React from "react";
import Tabbar from "./components/Tabbar";

import { Switch } from "react-router-dom";

const index = (props) => {
  return (
    <>
      <Switch>{props.children}</Switch>
      <Tabbar />
    </>
  );
};

export default index;
